import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
import java.util.Set;

public class homer2 {
    public static void main(String[] args) throws IOException {
        Properties pt = new Properties();
        pt.load(new FileReader("homewoek11\\src\\iphone.properties"));
        Set<String> set = pt.stringPropertyNames();
        for (String s : set) {
            System.out.println(s+"="+pt.getProperty(s));
        }

    }
}
